package com.example.buyticketlishi.bean;

import java.util.List;

public class JJHSealTicketForTitleResultBean {


    /**
     * code : 200
     * message : 获取用户可售产品(金鸡湖)成功
     * data : [{"scenicTicketId":10000000137002,"scenicTicketName":"小程序无时段","bookByTimeFlag":"N","price":30,"certificateFlag":1,"certificateTypeIdList":[4,1,2,3,6],"checkDayType":1,"checkStartDate":"","checkEndDate":""},{"scenicTicketId":10000000139001,"scenicTicketName":"小程序时段","bookByTimeFlag":"Y","price":10,"certificateFlag":1,"certificateTypeIdList":[4,1,2,3,6],"checkDayType":1,"checkStartDate":"","checkEndDate":""},{"scenicTicketId":10000000140001,"routeId":10000000020001,"scenicTicketName":"窗口售票航线","bookByTimeFlag":"N","price":0.01,"certificateFlag":1,"certificateTypeIdList":[1,3,2],"checkDayType":1,"checkStartDate":"","checkEndDate":""}]
     */

    private String code;
    private String message;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * scenicTicketId : 10000000137002
         * scenicTicketName : 小程序无时段
         * bookByTimeFlag : N
         * price : 30.0
         * certificateFlag : 1
         * certificateTypeIdList : [4,1,2,3,6]
         * checkDayType : 1
         * checkStartDate :
         * checkEndDate :
         * routeId : 10000000020001
         */

        private long scenicTicketId;
        private String scenicTicketName;
        private String bookByTimeFlag;
        private double price;
        private int certificateFlag;
        private int checkDayType;
        private String checkStartDate;
        private String checkEndDate;
        private long routeId;
        private List<Long> certificateTypeIdList;

        //新加的字段 吃饱饭没事干
        private int minAge;
        private int maxAge;

        //由于数据最后要做处理，这么用这个数据对象做载体
        private String arriveDT;
        //        private String scenicTicketId;
        private String shiftsId;
        private String saleSum;
        private String customerDiscountType;
        private List<timeControlParamList> timeData;
        //时段显示
        private String timeShow;

        private int minResidueSum;

        public int getMinResidueSum() {
            return minResidueSum;
        }

        public void setMinResidueSum(int minResidueSum) {
            this.minResidueSum = minResidueSum;
        }



        @Override
        public String toString() {
            return "DataBean{" +
                    "scenicTicketId=" + scenicTicketId +
                    ", scenicTicketName='" + scenicTicketName + '\'' +
                    ", bookByTimeFlag='" + bookByTimeFlag + '\'' +
                    ", price=" + price +
                    ", certificateFlag=" + certificateFlag +
                    ", checkDayType=" + checkDayType +
                    ", checkStartDate='" + checkStartDate + '\'' +
                    ", checkEndDate='" + checkEndDate + '\'' +
                    ", routeId=" + routeId +
                    ", certificateTypeIdList=" + certificateTypeIdList +
                    ", arriveDT='" + arriveDT + '\'' +
                    ", shiftsId='" + shiftsId + '\'' +
                    ", saleSum='" + saleSum + '\'' +
                    ", customerDiscountType='" + customerDiscountType + '\'' +
                    ", timeData=" + timeData +
                    ", timeShow='" + timeShow + '\'' +
                    '}';
        }


        public int getMinAge() {
            return minAge;
        }

        public void setMinAge(int minAge) {
            this.minAge = minAge;
        }

        public int getMaxAge() {
            return maxAge;
        }

        public void setMaxAge(int maxAge) {
            this.maxAge = maxAge;
        }

        public String getTimeShow() {
            return timeShow;
        }

        public void setTimeShow(String timeShow) {
            this.timeShow = timeShow;
        }

        public List<timeControlParamList> getTimeData() {
            return timeData;
        }

        public void setTimeData(List<timeControlParamList> timeData) {
            this.timeData = timeData;
        }

        public String getArriveDT() {
            return arriveDT;
        }

        public void setArriveDT(String arriveDT) {
            this.arriveDT = arriveDT;
        }


        public String getShiftsId() {
            return shiftsId;
        }

        public void setShiftsId(String shiftsId) {
            this.shiftsId = shiftsId;
        }

        public String getSaleSum() {
            return saleSum;
        }

        public void setSaleSum(String saleSum) {
            this.saleSum = saleSum;
        }

        public String getCustomerDiscountType() {
            return customerDiscountType;
        }

        public void setCustomerDiscountType(String customerDiscountType) {
            this.customerDiscountType = customerDiscountType;
        }



        public static class timeControlParamList {

            @Override
            public String toString() {
                return "timeControlParamList{" +
                        "projectId='" + projectId + '\'' +
                        ", ordTimeControlId='" + ordTimeControlId + '\'' +
                        '}';
            }

            private String projectId;
            private String ordTimeControlId;

            public String getProjectId() {
                return projectId;
            }

            public void setProjectId(String projectId) {
                this.projectId = projectId;
            }

            public String getOrdTimeControlId() {
                return ordTimeControlId;
            }

            public void setOrdTimeControlId(String ordTimeControlId) {
                this.ordTimeControlId = ordTimeControlId;
            }
        }


        public long getScenicTicketId() {
            return scenicTicketId;
        }

        public void setScenicTicketId(long scenicTicketId) {
            this.scenicTicketId = scenicTicketId;
        }

        public String getScenicTicketName() {
            return scenicTicketName;
        }

        public void setScenicTicketName(String scenicTicketName) {
            this.scenicTicketName = scenicTicketName;
        }

        public String getBookByTimeFlag() {
            return bookByTimeFlag;
        }

        public void setBookByTimeFlag(String bookByTimeFlag) {
            this.bookByTimeFlag = bookByTimeFlag;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getCertificateFlag() {
            return certificateFlag;
        }

        public void setCertificateFlag(int certificateFlag) {
            this.certificateFlag = certificateFlag;
        }

        public int getCheckDayType() {
            return checkDayType;
        }

        public void setCheckDayType(int checkDayType) {
            this.checkDayType = checkDayType;
        }

        public String getCheckStartDate() {
            return checkStartDate;
        }

        public void setCheckStartDate(String checkStartDate) {
            this.checkStartDate = checkStartDate;
        }

        public String getCheckEndDate() {
            return checkEndDate;
        }

        public void setCheckEndDate(String checkEndDate) {
            this.checkEndDate = checkEndDate;
        }

        public long getRouteId() {
            return routeId;
        }

        public void setRouteId(long routeId) {
            this.routeId = routeId;
        }

        public List<Long> getCertificateTypeIdList() {
            return certificateTypeIdList;
        }

        public void setCertificateTypeIdList(List<Long> certificateTypeIdList) {
            this.certificateTypeIdList = certificateTypeIdList;
        }
    }
}
